package com.runjian.rundo.iot.agent.business.control.executor;

import com.runjian.rundo.iot.agent.business.control.event.DeviceControlResponseEvent;
import com.runjian.rundo.iot.agent.common.entity.CommonDeviceCommand;

/**
 * 控制执行器
 *
 * @author CaoQingHua
 */
public interface DeviceCommandExecutor {

    /**
     * execute device command.
     *
     * @param deviceCommand 控制对象
     */
    void execute(CommonDeviceCommand deviceCommand);

    /**
     * 通事事件
     * 
     * @param deviceControlResponseEvent
     */
    void notifyDeviceResponse(DeviceControlResponseEvent deviceControlResponseEvent);

}
